home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / time / Stardate.lha / readme.amiga next >
Text File  |  1994-12-19  |  883b  |  19 lines

  1. To make this useable on Amiga without compiling with GCC (I don't mind the
  2. ixemul.library, but in this case it seemed a bit lazy), I changed the gmtime()
  3. function to localtime() and adapted the option check, which uses sscanf, to
  4. react to proper error return codes.
  5.  
  6. Since the plain Dice time functions don't support timezones and I had no
  7. intentions of using the locale.library (this is just a quick port), I
  8. implemented an extra option, -t followed by a timezone (ex: GMT+1 -> "-t1"). I
  9. also rewrote the command line parsing and added a quick help using a "-h"
  10. argument.
  11.  
  12. If you're wondering why it's needed to specify a timezone, it's simply because
  13. a stardate is calculated from GMT (obviously, if you want something uniform
  14. for the whole of the universe... it better be independant of earth timezones
  15. :-)
  16.  
  17.  
  18.  - Yves Perrenoud   <pyves@alphanet.ch> or <pyves@neli00.eicn.etna.ch>
  19.